#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2018-12-04 16:04
# @Author  : 少爷

import time

myD = {1: 'a', 2: 'b'}
for key, value in dict.items(myD):
    print key, value
    time.sleep(1)
